import Http from '@/common/http';

/**
 * 登录
 */
export const loginByPWD = params => Http.send('post', 'api/UserCenter/userLogin', params);

/**
 * 获取用户信息
 */
export const getUserCenter = params => Http.send('post', 'api/UserCenter/getUserCenter', params);

/**
 * 更改密码
 */
export const changeUserPassword = params => Http.send('post', 'api/UserCenter/changeUserPassword', params);

/**
 * 获取用户信息
 */
export const addUserCenter = params => Http.send('post', 'api/UserCenter/addUserCenter', params);


